package com.million.gulimall.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.million"})  //为了扫描到service_base中的config包下的配置类
public class GulimallProductApplication {

    public static void main (String[] args) {
        SpringApplication.run(GulimallProductApplication.class, args);
    }

}
